# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=dnsspider
pkgver=1.4
pkgrel=5
groups=('blackarch' 'blackarch-recon' 'blackarch-scanner')
pkgdesc='A fast multithreaded bruteforcer of subdomains that leverages a wordlist and/or character permutation.'
url='http://nullsecurity.net/tools/scanner.html'
arch=('any')
license=('MIT')
depends=('python' 'python-dnspython')
source=("https://github.com/nullsecuritynet/tools/raw/main/scanner/dnsspider/release/$pkgname-$pkgver.tar.gz")
sha512sums=('dffbd36c337ab6acda2801a44b726807dbafc956190a7567fed7e14a18ad1463d2b7ccad58e7a1b03b2b8dcdda2db2cd5193cc81258f445dd28b6c6408abcef0')

package() {
  cd "$pkgname-$pkgver"

  install -Dm 755 "$pkgname.py" "$pkgdir/usr/bin/$pkgname"
  install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname/" README.md
}

